#include "Cmaid_Gtest.h"

using namespace ::testing;

/*
 * The Set tests
 */
CMAID_GTEST_CASE_INST(Set, hash_string, cmaid_hash_set_new,
		CMAID_GTEST_STRING_PARAMS, CMAID_GTEST_STRING_VALUES);

CMAID_GTEST_CASE_INST(Set, hash_integer, cmaid_hash_set_new,
		CMAID_GTEST_INTEGER_PARAMS, CMAID_GTEST_INTEGER_VALUES);

CMAID_GTEST_CASE_INST(Set, hash_pointer, cmaid_hash_set_new,
		CMAID_GTEST_POINTER_PARAMS, CMAID_GTEST_POINTER_VALUES);

/*
 * The cache tests
 */
CMAID_GTEST_CASE_INST(Cache, hash_string, cmaid_hash_cache_new,
		CMAID_GTEST_STRING_PARAMS, CMAID_GTEST_STRING_VALUES);

CMAID_GTEST_CASE_INST(Cache, hash_integer, cmaid_hash_cache_new,
		CMAID_GTEST_INTEGER_PARAMS, CMAID_GTEST_INTEGER_VALUES);

CMAID_GTEST_CASE_INST(Cache, hash_pointer, cmaid_hash_cache_new,
		CMAID_GTEST_POINTER_PARAMS, CMAID_GTEST_POINTER_VALUES);

/*
 * The map tests
 */
CMAID_GTEST_CASE_INST_PAIR(Map, hash_string, cmaid_hash_map_new,
		CMAID_GTEST_STRING_PARAMS, Values(cmaid_gtest_names),
		CMAID_GTEST_STRING_PARAMS, Values(cmaid_gtest_first_names));

CMAID_GTEST_CASE_INST_PAIR(Map, hash_integer, cmaid_hash_map_new,
		CMAID_GTEST_INTEGER_PARAMS, Values(cmaid_gtest_numbers),
		CMAID_GTEST_INTEGER_PARAMS, Values(cmaid_gtest_numbers));

CMAID_GTEST_CASE_INST_PAIR(Map, hash_pointer, cmaid_hash_map_new,
		CMAID_GTEST_POINTER_PARAMS, Values(*cmaid_gtest_pointers_first),
		CMAID_GTEST_POINTER_PARAMS, Values(*cmaid_gtest_pointers_first));

